const {
    test_test
} = require('../.logic');
let c = 0

const topo = test_test.create({
    name: 'topo',
    debug: {
        code:'ws://localhost:9503/4w'
    },
    "methods": {
        "Step1": function (arg, info, root) {
            console.log('Step1',arg)
            return (arg + 1)
        },
        "Step2": function (arg, info, root) {
            console.log('Step2',arg)
            return (arg + 1)
        },
    },
    "onAfterEach": function (data) {
        console.log('onAfterEach>>>',data)
    },
})
topo.$console()
// topo.$start(0)   
console.log('#Step1',1,1)
setTimeout(()=>{
    console.log('#Step2',1,2)
},1000)
